<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">

<html><head><title>Cruft Directory README</title><link rel="stylesheet" type="text/css" href="../../styles/main.css"><script language=JavaScript src="../../javascript/main.js"></script><script language=JavaScript src="../../javascript/searchdata.js"></script></head><body class="ContentPage" onLoad="NDOnLoad()"><script language=JavaScript><!--
if (browserType) {document.write("<div class=" + browserType + ">");if (browserVer) {document.write("<div class=" + browserVer + ">"); }}// --></script>

<!--  Generated by Natural Docs, version Development Release 12-07-2007 (1.35 base) -->
<!--  http://www.naturaldocs.org  -->

<!-- saved from url=(0026)http://www.naturaldocs.org -->




<div id=Content><div class="CSection"><div class=CTopic id=MainTopic><h1 class=CTitle><a name="Cruft_Directory_README"></a>Cruft Directory README</h1><div class=CBody><p>This directory serves as a wrapper for the following symlinks - log - logs for SMUOI and PHP under SMUOI alike.&nbsp; Symlink to /var/log/smuoi tmp - text files written to by &lt;Cache&gt;.&nbsp; Typically a symlink to /tmp/smuoi local - mixed file types currently being processed (uploaded, gzipped, etc).&nbsp; Typically links to /var/tmp/smuoi</p><h4 class=CHeading>Permissions</h4><p>If SMUOI fails to make a directory at the desired target location to symlink to, it simply makes the target here instead, i.e. the symlink becomes a directory.&nbsp;  If you find the cruft dir contains directories and not symlinks, check the constants (e.g.&nbsp; <a href="../smrc-php.html#SMUOI_CRUFT_LOG_TARGET" class=LConstant id=link1 onMouseOver="ShowTip(event, 'tt1', 'link1')" onMouseOut="HideTip('tt1')">SMUOI_CRUFT_LOG_TARGET</a>), create the target director(y|ies) yourself, and make sure SMUOI has rwx permissions.</p><h4 class=CHeading>The &lsquo;local&rsquo; symlink</h4><p>This exists and points to /var/tmp/smuoi not for the persistence offered by /var/tmp but based on the <u>assumption</u> that SMUOI&rsquo;s project directories live in /var and so <u>probably</u> on the same partition as /var/tmp.&nbsp; This is to speed up rename operations on the potentially large files to be processed here before being mv&rsquo;d to their desired location in the project.</p><p>If, however, your SMUOI projects do <u>not</u> live in the same partition as /var/tmp, I recommend -</p><ul><li>if they live on the same partition as this directory, simply alter the constant <a href="../smrc-php.html#SMUOI_CRUFT_LOCAL_TARGET" class=LConstant id=link2 onMouseOver="ShowTip(event, 'tt2', 'link2')" onMouseOut="HideTip('tt2')">SMUOI_CRUFT_LOCAL_TARGET</a> to equate false.</li><li>if they happen to live on the same partition as /tmp, do</li></ul><blockquote><pre>cd /path/to/smuoi/cruft
rmdir local
ln -s tmp local</pre></blockquote><ul><li>if they live in some other partition altogether, nominate a location on that partition for these files to be processed in and alter the constant <a href="../smrc-php.html#SMUOI_CRUFT_LOCAL_TARGET" class=LConstant id=link3 onMouseOver="ShowTip(event, 'tt2', 'link3')" onMouseOut="HideTip('tt2')">SMUOI_CRUFT_LOCAL_TARGET</a> to reference that location.</li></ul></div></div></div>

</div><!--Content-->


<div id=Footer><a href="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->


<div id=Menu><div class=MEntry><div class=MFile><a href="../cgi-workaround-php.html">cgi-workaround.php</a></div></div><div class=MEntry><div class=MFile id=MSelected>Cruft Directory README</div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent1')">Smernel</a><div class=MGroupContent id=MGroupContent1><div class=MEntry><div class=MFile><a href="../Smernel/Adeliae/Resources/@public/js/unittest-js.html">Due to a fix in Firefox 1....6 or DP2.</a></div></div><div class=MEntry><div class=MFile><a href="../Smernel/Adeliae/Resources/@public/js/builder-js.html">For Firefox &lt; 1.<span class=HB> </span>5, OPTION and OPTGROUP tags are currently broken,</a></div></div></div></div></div><div class=MEntry><div class=MFile><a href="../smrc-php.html">smrc.php</a></div></div><div class=MEntry><div class=MFile><a href="../smuoi-prepend-php.html">smuoi-prepend.php</a></div></div><div class=MEntry><div class=MFile><a href="../smuoi-php.html">smuoi.php</a></div></div><div class=MEntry><div class=MGroup><a href="javascript:ToggleMenu('MGroupContent2')">Index</a><div class=MGroupContent id=MGroupContent2><div class=MEntry><div class=MIndex><a href="../../index/General.html">Everything</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Constants.html">Constants</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Files.html">Files</a></div></div><div class=MEntry><div class=MIndex><a href="../../index/Functions.html">Functions</a></div></div></div></div></div><script type="text/javascript"><!--
var searchPanel = new SearchPanel("searchPanel", "HTML", "../../search");
--></script><div id=MSearchPanel class=MSearchPanelInactive><input type=text id=MSearchField value=Search onFocus="searchPanel.OnSearchFieldFocus(true)" onBlur="searchPanel.OnSearchFieldFocus(false)" onKeyUp="searchPanel.OnSearchFieldChange()"><select id=MSearchType onFocus="searchPanel.OnSearchTypeFocus(true)" onBlur="searchPanel.OnSearchTypeFocus(false)" onChange="searchPanel.OnSearchTypeChange()"><option  id=MSearchEverything selected value="General">Everything</option><option value="Constants">Constants</option><option value="Files">Files</option><option value="Functions">Functions</option></select></div></div><!--Menu-->



<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1"><div class=CConstant>target directory to write logs to. </div></div><div class=CToolTip id="tt2"><div class=CConstant>target directory for processing files. </div></div><!--END_ND_TOOLTIPS-->




<div id=MSearchResultsWindow><iframe src="" frameborder=0 name=MSearchResults id=MSearchResults></iframe><a href="javascript:searchPanel.CloseResultsWindow()" id=MSearchResultsWindowClose>Close</a></div>


<script language=JavaScript><!--
if (browserType) {if (browserVer) {document.write("</div>"); }document.write("</div>");}// --></script></body></html>